package com.gg.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gg.entity.Fruit;

public interface FruitMapper {
	List<Fruit> selectFruitsByHot();

	List<Fruit> selectFruitsByLikeName(@Param("searchname") String searchname);

	List<Fruit> selectFruitByCategory(@Param("cid") String cid);

	List<Fruit> selectFruitsByPrice(@Param("min") int min, @Param("max") int max);

	List<Fruit> selectFruitsByImport(@Param("fimport") int fimport);

	Fruit selectFruitByFid(String fid);
}
